<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>第一个案例</title>
</head>
<body>

   <h1>thymeleaf循环标签，遍历Map标签组合使用</h1>


   <table>

       <tr th:each="m:${mp}">
           <td th:text="${m.getKey()}"></td>
           <td th:text="${m.getValue()}"></td>
       </tr>

   </table>
</body>
</html>